package com.le.tester.book.effectivejava3rdchinese.articlefourteen;

import java.util.Collections;
import java.util.Set;
import java.util.TreeSet;

/**
 * createTime：2022/8/3 15:34
 * description：考虑实现comparable接口
 */
public class WordList {
    public static void main(String[] args) {
        Set<String> s = new TreeSet<>();
        Collections.addAll(s, args);
        System.out.println(s);
    }
}
